home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 October: Mac OS SDK / Dev.CD Oct 97 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Universal / Interfaces / PInterfaces / Editions.p < prev    next >
Encoding:
Text File  |  1997-08-12  |  15.2 KB  |  435 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        Editions.p
  3.  
  4.      Contains:    Edition Manager Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.0.1
  8.  
  9.      Copyright:    © 1989-1997 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        Please include the the file and version information (from above) with
  12.                  the problem description.  Developers belonging to one of the Apple
  13.                  developer programs can submit bug reports to:
  14.  
  15.                      devsupport@apple.com
  16.  
  17. }
  18. {$IFC UNDEFINED UsingIncludes}
  19. {$SETC UsingIncludes := 0}
  20. {$ENDC}
  21.  
  22. {$IFC NOT UsingIncludes}
  23.  UNIT Editions;
  24.  INTERFACE
  25. {$ENDC}
  26.  
  27. {$IFC UNDEFINED __EDITIONS__}
  28. {$SETC __EDITIONS__ := 1}
  29.  
  30. {$I+}
  31. {$SETC EditionsIncludes := UsingIncludes}
  32. {$SETC UsingIncludes := 1}
  33.  
  34. {$IFC UNDEFINED __TYPES__}
  35. {$I Types.p}
  36. {$ENDC}
  37. {$IFC UNDEFINED __MIXEDMODE__}
  38. {$I MixedMode.p}
  39. {$ENDC}
  40. {$IFC UNDEFINED __FILES__}
  41. {$I Files.p}
  42. {$ENDC}
  43. {$IFC UNDEFINED __ALIASES__}
  44. {$I Aliases.p}
  45. {$ENDC}
  46. {$IFC UNDEFINED __DIALOGS__}
  47. {$I Dialogs.p}
  48. {$ENDC}
  49.  
  50.  
  51. {$PUSH}
  52. {$ALIGN MAC68K}
  53. {$LibExport+}
  54.  
  55.  
  56. CONST
  57.                                                                 {  resource types   }
  58.     rSectionType                = 'sect';                        {  ResType of saved SectionRecords  }
  59.                                                                 {  Finder types for edition files  }
  60.     kPICTEditionFileType        = 'edtp';
  61.     kTEXTEditionFileType        = 'edtt';
  62.     ksndEditionFileType            = 'edts';
  63.     kUnknownEditionFileType        = 'edtu';
  64.     kPublisherDocAliasFormat    = 'alis';
  65.     kPreviewFormat                = 'prvw';
  66.     kFormatListFormat            = 'fmts';
  67.  
  68.                                                                 {  section types  }
  69.     stSubscriber                = $01;
  70.     stPublisher                    = $0A;
  71.  
  72.     sumAutomatic                = 0;                            {  subscriber update mode - Automatically      }
  73.     sumManual                    = 1;                            {  subscriber update mode - Manually  }
  74.     pumOnSave                    = 0;                            {  publisher update mode - OnSave             }
  75.     pumManual                    = 1;                            {  publisher update mode - Manually  }
  76.  
  77.     kPartsNotUsed                = 0;
  78.     kPartNumberUnknown            = -1;
  79.  
  80.     kPreviewWidth                = 120;
  81.     kPreviewHeight                = 120;
  82.  
  83.                                                                 {  bits for formatsMask  }
  84.     kPICTformatMask                = 1;
  85.     kTEXTformatMask                = 2;
  86.     ksndFormatMask                = 4;
  87.  
  88.  
  89.                                                                 {  pseudo-item hits for dialogHooks the first is for NewPublisher or NewSubscriber Dialogs  }
  90.     emHookRedrawPreview            = 150;                            {  the following are for SectionOptions Dialog  }
  91.     emHookCancelSection            = 160;
  92.     emHookGoToPublisher            = 161;
  93.     emHookGetEditionNow            = 162;
  94.     emHookSendEditionNow        = 162;
  95.     emHookManualUpdateMode        = 163;
  96.     emHookAutoUpdateMode        = 164;
  97.  
  98.  
  99.                                                                 {  the refcon field of the dialog record during a modalfilter or dialoghook contains one the following  }
  100.     emOptionsDialogRefCon        = 'optn';
  101.     emCancelSectionDialogRefCon    = 'cncl';
  102.     emGoToPubErrDialogRefCon    = 'gerr';
  103.  
  104.     kFormatLengthUnknown        = -1;
  105.  
  106. { one byte, stSubscriber or stPublisher }
  107.  
  108. TYPE
  109.     SectionType                            = SignedByte;
  110. { seconds since 1904 }
  111.     TimeStamp                            = LONGINT;
  112. { similar to ResType }
  113.     FormatType                            = FourCharCode;
  114. { used in Edition I/O }
  115.     EditionRefNum                        = Handle;
  116. { update modes }
  117. { sumAutomatic, pumSuspend, etc }
  118.     UpdateMode                            = INTEGER;
  119.     SectionRecordPtr = ^SectionRecord;
  120.     SectionPtr                            = ^SectionRecord;
  121.     SectionHandle                        = ^SectionPtr;
  122.     SectionRecord = RECORD
  123.         version:                SignedByte;                                {  always 0x01 in system 7.0  }
  124.         kind:                    SectionType;                            {  stSubscriber or stPublisher  }
  125.         mode:                    UpdateMode;                                {  auto or manual  }
  126.         mdDate:                    TimeStamp;                                {  last change in document  }
  127.         sectionID:                LONGINT;                                {  app. specific, unique per document  }
  128.         refCon:                    LONGINT;                                {  application specific  }
  129.         alias:                    AliasHandle;                            {  handle to Alias Record  }
  130.         subPart:                LONGINT;                                {  which part of container file  }
  131.         nextSection:            SectionHandle;                            {  for linked list of app's Sections  }
  132.         controlBlock:            Handle;                                    {  used internally  }
  133.         refNum:                    EditionRefNum;                            {  used internally  }
  134.     END;
  135.  
  136.     EditionContainerSpecPtr = ^EditionContainerSpec;
  137.     EditionContainerSpec = RECORD
  138.         theFile:                FSSpec;
  139.         theFileScript:            ScriptCode;
  140.         thePart:                LONGINT;
  141.         thePartName:            Str31;
  142.         thePartScript:            ScriptCode;
  143.     END;
  144.  
  145.     EditionInfoRecordPtr = ^EditionInfoRecord;
  146.     EditionInfoRecord = RECORD
  147.         crDate:                    TimeStamp;                                {  date EditionContainer was created  }
  148.         mdDate:                    TimeStamp;                                {  date of last change  }
  149.         fdCreator:                OSType;                                    {  file creator  }
  150.         fdType:                    OSType;                                    {  file type  }
  151.         container:                EditionContainerSpec;                    {  the Edition  }
  152.     END;
  153.  
  154.     NewPublisherReplyPtr = ^NewPublisherReply;
  155.     NewPublisherReply = RECORD
  156.         canceled:                BOOLEAN;                                {  O  }
  157.         replacing:                BOOLEAN;
  158.         usePart:                BOOLEAN;                                {  I  }
  159.         filler:                    SInt8;
  160.         preview:                Handle;                                    {  I  }
  161.         previewFormat:            FormatType;                                {  I  }
  162.         container:                EditionContainerSpec;                    {  I/O  }
  163.     END;
  164.  
  165.     NewSubscriberReplyPtr = ^NewSubscriberReply;
  166.     NewSubscriberReply = RECORD
  167.         canceled:                BOOLEAN;                                {  O  }
  168.         formatsMask:            SignedByte;
  169.         container:                EditionContainerSpec;                    { I/O }
  170.     END;
  171.  
  172.     SectionOptionsReplyPtr = ^SectionOptionsReply;
  173.     SectionOptionsReply = RECORD
  174.         canceled:                BOOLEAN;                                {  O  }
  175.         changed:                BOOLEAN;                                {  O  }
  176.         sectionH:                SectionHandle;                            {  I  }
  177.         action:                    ResType;                                {  O  }
  178.     END;
  179.  
  180.     ExpModalFilterProcPtr = ProcPtr;  { FUNCTION ExpModalFilter(theDialog: DialogPtr; VAR theEvent: EventRecord; itemOffset: INTEGER; VAR itemHit: INTEGER; yourDataPtr: Ptr): BOOLEAN; }
  181.  
  182.     ExpDlgHookProcPtr = ProcPtr;  { FUNCTION ExpDlgHook(itemOffset: INTEGER; itemHit: INTEGER; theDialog: DialogPtr; yourDataPtr: Ptr): INTEGER; }
  183.  
  184.     ExpModalFilterUPP = UniversalProcPtr;
  185.     ExpDlgHookUPP = UniversalProcPtr;
  186.  
  187. CONST
  188.     uppExpModalFilterProcInfo = $0000FBD0;
  189.     uppExpDlgHookProcInfo = $00003EA0;
  190.  
  191. FUNCTION NewExpModalFilterProc(userRoutine: ExpModalFilterProcPtr): ExpModalFilterUPP;
  192.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  193.     INLINE $2E9F;
  194.     {$ENDC}
  195.  
  196. FUNCTION NewExpDlgHookProc(userRoutine: ExpDlgHookProcPtr): ExpDlgHookUPP;
  197.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  198.     INLINE $2E9F;
  199.     {$ENDC}
  200.  
  201. FUNCTION CallExpModalFilterProc(theDialog: DialogPtr; VAR theEvent: EventRecord; itemOffset: INTEGER; VAR itemHit: INTEGER; yourDataPtr: Ptr; userRoutine: ExpModalFilterUPP): BOOLEAN;
  202.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  203.     INLINE $205F, $4E90;
  204.     {$ENDC}
  205.  
  206. FUNCTION CallExpDlgHookProc(itemOffset: INTEGER; itemHit: INTEGER; theDialog: DialogPtr; yourDataPtr: Ptr; userRoutine: ExpDlgHookUPP): INTEGER;
  207.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  208.     INLINE $205F, $4E90;
  209.     {$ENDC}
  210.  
  211. CONST
  212.     ioHasFormat                    = 0;
  213.     ioReadFormat                = 1;
  214.     ioNewFormat                    = 2;
  215.     ioWriteFormat                = 3;
  216.  
  217.  
  218. TYPE
  219.     FormatIOVerb                        = SignedByte;
  220.  
  221. CONST
  222.     eoOpen                        = 0;
  223.     eoClose                        = 1;
  224.     eoOpenNew                    = 2;
  225.     eoCloseNew                    = 3;
  226.     eoCanSubscribe                = 4;
  227.  
  228.  
  229. TYPE
  230.     EditionOpenerVerb                    = SignedByte;
  231.     FormatIOParamBlockPtr = ^FormatIOParamBlock;
  232.     FormatIOParamBlock = RECORD
  233.         ioRefNum:                LONGINT;
  234.         format:                    FormatType;
  235.         formatIndex:            LONGINT;
  236.         offset:                    LONGINT;
  237.         buffPtr:                Ptr;
  238.         buffLen:                LONGINT;
  239.     END;
  240.  
  241.     EditionOpenerParamBlockPtr = ^EditionOpenerParamBlock;
  242.     FormatIOProcPtr = ProcPtr;  { FUNCTION FormatIO(selector: FormatIOVerb; VAR PB: FormatIOParamBlock): INTEGER; }
  243.  
  244.     EditionOpenerProcPtr = ProcPtr;  { FUNCTION EditionOpener(selector: EditionOpenerVerb; VAR PB: EditionOpenerParamBlock): INTEGER; }
  245.  
  246.     FormatIOUPP = UniversalProcPtr;
  247.     EditionOpenerUPP = UniversalProcPtr;
  248.     EditionOpenerParamBlock = RECORD
  249.         info:                    EditionInfoRecord;
  250.         sectionH:                SectionHandle;
  251.         document:                FSSpecPtr;
  252.         fdCreator:                OSType;
  253.         ioRefNum:                LONGINT;
  254.         ioProc:                    FormatIOUPP;
  255.         success:                BOOLEAN;
  256.         formatsMask:            SignedByte;
  257.     END;
  258.  
  259.  
  260. CONST
  261.     uppFormatIOProcInfo = $00000360;
  262.     uppEditionOpenerProcInfo = $00000360;
  263.  
  264. FUNCTION NewFormatIOProc(userRoutine: FormatIOProcPtr): FormatIOUPP;
  265.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  266.     INLINE $2E9F;
  267.     {$ENDC}
  268.  
  269. FUNCTION NewEditionOpenerProc(userRoutine: EditionOpenerProcPtr): EditionOpenerUPP;
  270.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  271.     INLINE $2E9F;
  272.     {$ENDC}
  273.  Section events now arrive in the message buffer using the AppleEvent format.
  274.  The direct object parameter is an aeTemporaryIDParamType ('tid '). The temporary
  275.  ID's type is rSectionType ('sect') and the 32-bit value is a SectionHandle.
  276.  The following is a sample buffer
  277.  
  278.  name       offset     contents
  279.  ----       ------     --------
  280.  header           0      'aevt'
  281.  majorVersion     4      0x01
  282.  minorVersion     6      0x01
  283.  endOfMetaData     8      ';;;;' 
  284.  directObjKey     12  '----' 
  285.  paramType      16  'tid ' 
  286.  paramLength      20  0x0008 
  287.  tempIDType      24  'sect' 
  288.  tempID            28  the SectionHandle <-- this is want you want
  289. }
  290.  
  291.  
  292. CONST
  293.     sectionEventMsgClass        = 'sect';
  294.     sectionReadMsgID            = 'read';
  295.     sectionWriteMsgID            = 'writ';
  296.     sectionScrollMsgID            = 'scrl';
  297.     sectionCancelMsgID            = 'cncl';
  298.  
  299.     currentEditionMgrVers        = $0011;
  300.  
  301.  
  302.  
  303. { Use InitEditionPackVersion(currentEditionMgrVers) instead of InitEditionPack }
  304. FUNCTION InitEditionPackVersion(curEditionMgrVers: INTEGER): OSErr;
  305.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  306.     INLINE $303C, $0100, $A82D;
  307.     {$ENDC}
  308. FUNCTION NewSection({CONST}VAR container: EditionContainerSpec; sectionDocument: ConstFSSpecPtr; kind: SectionType; sectionID: LONGINT; initalMode: UpdateMode; VAR sectionH: SectionHandle): OSErr;
  309.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  310.     INLINE $303C, $0A02, $A82D;
  311.     {$ENDC}
  312. FUNCTION RegisterSection({CONST}VAR sectionDocument: FSSpec; sectionH: SectionHandle; VAR aliasWasUpdated: BOOLEAN): OSErr;
  313.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  314.     INLINE $303C, $0604, $A82D;
  315.     {$ENDC}
  316. FUNCTION UnRegisterSection(sectionH: SectionHandle): OSErr;
  317.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  318.     INLINE $303C, $0206, $A82D;
  319.     {$ENDC}
  320. FUNCTION IsRegisteredSection(sectionH: SectionHandle): OSErr;
  321.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  322.     INLINE $303C, $0208, $A82D;
  323.     {$ENDC}
  324. FUNCTION AssociateSection(sectionH: SectionHandle; {CONST}VAR newSectionDocument: FSSpec): OSErr;
  325.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  326.     INLINE $303C, $040C, $A82D;
  327.     {$ENDC}
  328. FUNCTION CreateEditionContainerFile({CONST}VAR editionFile: FSSpec; fdCreator: OSType; editionFileNameScript: ScriptCode): OSErr;
  329.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  330.     INLINE $303C, $050E, $A82D;
  331.     {$ENDC}
  332. FUNCTION DeleteEditionContainerFile({CONST}VAR editionFile: FSSpec): OSErr;
  333.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  334.     INLINE $303C, $0210, $A82D;
  335.     {$ENDC}
  336. FUNCTION OpenEdition(subscriberSectionH: SectionHandle; VAR refNum: EditionRefNum): OSErr;
  337.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  338.     INLINE $303C, $0412, $A82D;
  339.     {$ENDC}
  340. FUNCTION OpenNewEdition(publisherSectionH: SectionHandle; fdCreator: OSType; publisherSectionDocument: ConstFSSpecPtr; VAR refNum: EditionRefNum): OSErr;
  341.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  342.     INLINE $303C, $0814, $A82D;
  343.     {$ENDC}
  344. FUNCTION CloseEdition(whichEdition: EditionRefNum; successful: BOOLEAN): OSErr;
  345.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  346.     INLINE $303C, $0316, $A82D;
  347.     {$ENDC}
  348. FUNCTION EditionHasFormat(whichEdition: EditionRefNum; whichFormat: FormatType; VAR formatSize: Size): OSErr;
  349.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  350.     INLINE $303C, $0618, $A82D;
  351.     {$ENDC}
  352. FUNCTION ReadEdition(whichEdition: EditionRefNum; whichFormat: FormatType; buffPtr: UNIV Ptr; VAR buffLen: Size): OSErr;
  353.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  354.     INLINE $303C, $081A, $A82D;
  355.     {$ENDC}
  356. FUNCTION WriteEdition(whichEdition: EditionRefNum; whichFormat: FormatType; buffPtr: UNIV Ptr; buffLen: Size): OSErr;
  357.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  358.     INLINE $303C, $081C, $A82D;
  359.     {$ENDC}
  360. FUNCTION GetEditionFormatMark(whichEdition: EditionRefNum; whichFormat: FormatType; VAR currentMark: LONGINT): OSErr;
  361.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  362.     INLINE $303C, $061E, $A82D;
  363.     {$ENDC}
  364. FUNCTION SetEditionFormatMark(whichEdition: EditionRefNum; whichFormat: FormatType; setMarkTo: LONGINT): OSErr;
  365.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  366.     INLINE $303C, $0620, $A82D;
  367.     {$ENDC}
  368. FUNCTION GetEditionInfo(sectionH: SectionHandle; VAR editionInfo: EditionInfoRecord): OSErr;
  369.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  370.     INLINE $303C, $0422, $A82D;
  371.     {$ENDC}
  372. FUNCTION GoToPublisherSection({CONST}VAR container: EditionContainerSpec): OSErr;
  373.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  374.     INLINE $303C, $0224, $A82D;
  375.     {$ENDC}
  376. FUNCTION GetLastEditionContainerUsed(VAR container: EditionContainerSpec): OSErr;
  377.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  378.     INLINE $303C, $0226, $A82D;
  379.     {$ENDC}
  380. FUNCTION GetStandardFormats({CONST}VAR container: EditionContainerSpec; VAR previewFormat: FormatType; preview: Handle; publisherAlias: Handle; formats: Handle): OSErr;
  381.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  382.     INLINE $303C, $0A28, $A82D;
  383.     {$ENDC}
  384. FUNCTION GetEditionOpenerProc(VAR opener: EditionOpenerUPP): OSErr;
  385.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  386.     INLINE $303C, $022A, $A82D;
  387.     {$ENDC}
  388. FUNCTION SetEditionOpenerProc(opener: EditionOpenerUPP): OSErr;
  389.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  390.     INLINE $303C, $022C, $A82D;
  391.     {$ENDC}
  392. FUNCTION CallEditionOpenerProc(selector: EditionOpenerVerb; VAR PB: EditionOpenerParamBlock; routine: EditionOpenerUPP): OSErr;
  393.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  394.     INLINE $303C, $052E, $A82D;
  395.     {$ENDC}
  396. FUNCTION CallFormatIOProc(selector: FormatIOVerb; VAR PB: FormatIOParamBlock; routine: FormatIOUPP): OSErr;
  397.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  398.     INLINE $303C, $0530, $A82D;
  399.     {$ENDC}
  400. FUNCTION NewSubscriberDialog(VAR reply: NewSubscriberReply): OSErr;
  401.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  402.     INLINE $303C, $0232, $A82D;
  403.     {$ENDC}
  404. FUNCTION NewSubscriberExpDialog(VAR reply: NewSubscriberReply; where: Point; expansionDITLresID: INTEGER; dlgHook: ExpDlgHookUPP; filter: ExpModalFilterUPP; yourDataPtr: UNIV Ptr): OSErr;
  405.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  406.     INLINE $303C, $0B34, $A82D;
  407.     {$ENDC}
  408. FUNCTION NewPublisherDialog(VAR reply: NewPublisherReply): OSErr;
  409.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  410.     INLINE $303C, $0236, $A82D;
  411.     {$ENDC}
  412. FUNCTION NewPublisherExpDialog(VAR reply: NewPublisherReply; where: Point; expansionDITLresID: INTEGER; dlgHook: ExpDlgHookUPP; filter: ExpModalFilterUPP; yourDataPtr: UNIV Ptr): OSErr;
  413.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  414.     INLINE $303C, $0B38, $A82D;
  415.     {$ENDC}
  416. FUNCTION SectionOptionsDialog(VAR reply: SectionOptionsReply): OSErr;
  417.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  418.     INLINE $303C, $023A, $A82D;
  419.     {$ENDC}
  420. FUNCTION SectionOptionsExpDialog(VAR reply: SectionOptionsReply; where: Point; expansionDITLresID: INTEGER; dlgHook: ExpDlgHookUPP; filter: ExpModalFilterUPP; yourDataPtr: UNIV Ptr): OSErr;
  421.     {$IFC TARGET_OS_MAC AND TARGET_CPU_68K AND NOT TARGET_RT_MAC_CFM}
  422.     INLINE $303C, $0B3C, $A82D;
  423.     {$ENDC}
  424. {$ALIGN RESET}
  425. {$POP}
  426.  
  427. {$SETC UsingIncludes := EditionsIncludes}
  428.  
  429. {$ENDC} {__EDITIONS__}
  430.  
  431. {$IFC NOT UsingIncludes}
  432.  END.
  433. {$ENDC}
  434.